/*
 * www.qwfys.com Inc.
 * Copyright (c) 2004- 2020 All Rights Reserved.
 */

package com.example.demo.ao;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *
 *
 * @author lwk
 * @version MessageAo, v 0.1 6/4/20 4:03 PM lwk
 */
@Data
@AllArgsConstructor
@RequiredArgsConstructor
@ApiModel
public class MessageViewAo implements Serializable {
    // id
    @ApiModelProperty("ID")
    private Long id;

    // 姓名
    @ApiModelProperty("姓名")
    private String username;

    // 手机号码
    @ApiModelProperty("手机号码")
    private String mobile;

    // 邮箱
    @ApiModelProperty("邮箱")
    private String mail;

    // 内容
    @ApiModelProperty("内容")
    private String content;

    // 提交时间
    @ApiModelProperty("提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime submitedTime;

}
